﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Silverlight {
	public partial class GameChose : UserControl {
		public GameChose() {
			InitializeComponent();
		}

		private void UserControl_Loaded_1(object sender, RoutedEventArgs e) {
			MainPage.wsc.getStatusCompleted += wsc_getStatusCompleted;
			MainPage.wsc.getStatusAsync(-1);
		}

		void wsc_getStatusCompleted(object sender, ServiceReference.getStatusCompletedEventArgs e) {
			txtUserName.Content = e.Result;
		}
	}
}
